import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Users } from '@modules/users/entities/user.entity';
import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { CaptchaService } from './captcha.service';
import { CaptchaController } from './captcha.controller';
import { UsersModule } from '@modules/users/users.module';

@Module({
  imports: [
    UsersModule,
    TypeOrmModule.forFeature([Users]),
  ],
  providers: [AuthService, CaptchaService],
  controllers: [AuthController, CaptchaController],
  exports: [AuthService, CaptchaService],
})
export class AuthModule { } 